# -*- coding: utf-8 -*-
"""
多线程
"""

import threading
import time


def sing():
    while True:
        print("我在唱歌！")
        time.sleep(1)


def dance():
    while True:
        print("我在跳舞！")
        time.sleep(1)


if __name__ == '__main__':
    threading.Thread(target=sing).start()
    threading.Thread(target=dance).start()
